package com.example.design.patterns.geekbang.行为型.访问者模式.refactor;

public class WordFile extends ResourceFile {
    public WordFile(String filePath) {
        super(filePath);
    }

    /**
     *
     * @param extractor
     */
    @Override
    public void accept(Extractor extractor) {
        extractor.extract2txt(this);
    }
    //...
}
